<?php

class Application_Model_Operator extends Zend_Db_Table
{
	protected $_name = 'zend_operators';
	
	protected $_primary = 'id';
	
    public function listoperators(){
    	$data=$this->fetchAll($this->select()->where('id!=?',0));
    	$data=(($data!=null)?$data->toArray():null);
    	return $data;
    }
}

